<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
    <style>
       .cover{
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .container{
            background: transparent;
            backdrop-filter:blur(20px);
            height: 370px;
            width: 360px;
            box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
            border-radius: 5px;
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            margin: 7% auto;
            padding: 30px;
            color: #fff;
        }
        legend{
            color: #fff;
        }
    </style>
</head>
<body>
    <div class="bg">
        <img class="cover" src="https://s2.loli.net/2021/12/14/7wKLGZHde4fC82J.jpg" alt="">
        <div class="container">
            
            <form action="/doRegister" method="POST" role="form">
                <legend>管理者注册页面</legend>
            
                <div class="form-group">
                    <label for="">用户名</label>
                    <input type="text" class="form-control" name="administrator" id="" placeholder="请输入用户名">
                </div>
                <div class="form-group">
                    <label for="">密码</label>
                    <input type="password" class="form-control" name="pwd" id="" placeholder="请输入密码">
                </div>
                <div class="form-group">
                    <label for="">确认密码</label>
                    <input type="password" class="form-control" name="repwd" id="" placeholder="请输入密码">
                </div>
        
                <button type="submit" class="btn btn-danger">注册</button>
                <a href="/login" class="btn btn-warning">返回登陆</a>
            </form>
            
        </div>
    </div>
</body>
</html>